import request from '@/utils/request'
// 查询部门列表
export function getHomeData() {
  return request({
    url: '/system/index/getHomeData',
    method: 'get',
  })
}


export function getTaskEchartsData(query) {
  return request({
    url: '/system/index/getTaskEchartsData',
    method: 'get',
    params: query
  })
}

export function getPayslipEchartsData(query) {
  return request({
    url: '/system/index/getPayslipEchartsData',
    method: 'get',
    params: query
  })
}


export function getSeparateEchartsData(query) {
  return request({
    url: '/system/index/getSeparateEchartsData',
    method: 'get',
    params: query
  })
}

export function getWithdrawalEchartsData(query) {
  return request({
    url: '/system/index/getWithdrawalEchartsData',
    method: 'get',
    params: query
  })
}
